package cn.hzw.doodle;


import android.graphics.Color;
import android.graphics.PointF;
import android.os.Bundle;

public class DoodlePoint   {
    private PointF center;
    private int color= Color.RED;
    private int circleSize=3;
    private String label="";

    public static     DoodlePoint newInstance(PointF center) {



        DoodlePoint doodlePoint = new DoodlePoint(center);

        return doodlePoint;
    }


    public DoodlePoint(PointF center) {
        this.center = center;
    }

    public PointF getCenter() {
        return center;
    }

    public void setCenter(PointF center) {
        this.center = center;
    }

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public int getCircleSize() {
        return circleSize;
    }

    public void setCircleSize(int circleSize) {
        this.circleSize = circleSize;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
